mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-09-17 14:21:45 +00:00
-- removed src/
git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk/maven-alfresco-archetypes@33 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
@@ -1,36 +1,26 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?><archetype-descriptor name="demoamp">
|
<?xml version="1.0" encoding="UTF-8"?><archetype-descriptor name="test">
|
||||||
<!--
|
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
|
||||||
this work for additional information regarding copyright ownership.
|
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
||||||
(the "License"); you may not use this file except in compliance with
|
|
||||||
the License. You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet filtered="true" packaged="true" encoding="UTF-8">
|
<fileSet filtered="false" packaged="true" encoding="UTF-8">
|
||||||
<directory>src/main/java</directory>
|
<directory>src/main/java</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.java</include>
|
<include>**/*.java</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet filtered="true" encoding="UTF-8">
|
<fileSet filtered="false" encoding="UTF-8">
|
||||||
<directory>src/main/webapp</directory>
|
<directory>src/main/webapp</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.txt</include>
|
<include>**/*.txt</include>
|
||||||
<include>**/*.jsp</include>
|
<include>**/*.jsp</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet filtered="true" encoding="UTF-8">
|
<fileSet filtered="false" encoding="UTF-8">
|
||||||
|
<directory>src/main/config</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.xml</include>
|
||||||
|
<include>**/*.properties</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet filtered="false" encoding="UTF-8">
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.xml</include>
|
<include>**/*.xml</include>
|
||||||
@@ -45,20 +35,20 @@
|
|||||||
<include>**/*.css</include>
|
<include>**/*.css</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet filtered="true" encoding="UTF-8">
|
<fileSet filtered="false" encoding="UTF-8">
|
||||||
<directory>src/test/properties</directory>
|
<directory>src/test/properties</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.properties</include>
|
<include>**/*.properties</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet filtered="true" encoding="UTF-8">
|
<fileSet filtered="false" encoding="UTF-8">
|
||||||
<directory>src/test/resources</directory>
|
<directory>src/test/resources</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>**/*.xml</include>
|
<include>**/*.xml</include>
|
||||||
<include>**/*.properties</include>
|
<include>**/*.properties</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
<fileSet filtered="true" encoding="UTF-8">
|
<fileSet filtered="false" encoding="UTF-8">
|
||||||
<directory></directory>
|
<directory></directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>module.properties</include>
|
<include>module.properties</include>
|
||||||
|
@@ -1,31 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?><archetype>
|
||||||
<!--
|
<id>test</id>
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
|
||||||
this work for additional information regarding copyright ownership.
|
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
||||||
(the "License"); you may not use this file except in compliance with
|
|
||||||
the License. You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<archetype>
|
|
||||||
<id>maven-alfresco-amp-archetype</id>
|
|
||||||
<sources>
|
<sources>
|
||||||
<source>src/main/java/Demo.java</source>
|
<source>src/main/java/Demo.java</source>
|
||||||
<source>src/main/java/DemoComponent.java</source>
|
<source>src/main/java/DemoComponent.java</source>
|
||||||
</sources>
|
</sources>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>src/main/resources/alfresco/module/org.alfresco.module.demoamp/context/service-context.xml</resource>
|
<resource>src/main/config/context/service-context.xml</resource>
|
||||||
<resource>src/main/resources/alfresco/module/org.alfresco.module.demoamp/log4j.properties</resource>
|
<resource>src/main/config/log4j.properties</resource>
|
||||||
<resource>src/main/resources/alfresco/module/org.alfresco.module.demoamp/module-context.xml</resource>
|
<resource>src/main/config/module-context.xml</resource>
|
||||||
<resource>src/main/webapp/css/demoamp.css</resource>
|
<resource>src/main/webapp/css/demoamp.css</resource>
|
||||||
<resource>src/main/webapp/images/sourcesense.gif</resource>
|
<resource>src/main/webapp/images/sourcesense.gif</resource>
|
||||||
<resource>src/main/webapp/jsp/demoamp.jsp</resource>
|
<resource>src/main/webapp/jsp/demoamp.jsp</resource>
|
||||||
|
@@ -21,7 +21,6 @@ Known Issues:
|
|||||||
|
|
||||||
|
|
||||||
MAJOR:
|
MAJOR:
|
||||||
- maven-amp-plugin filtering broken
|
|
||||||
|
|
||||||
|
|
||||||
MINOR:
|
MINOR:
|
||||||
@@ -30,13 +29,6 @@ file and not accepted by alfresco as valid module version number
|
|||||||
|
|
||||||
|
|
||||||
TRIVIAL:
|
TRIVIAL:
|
||||||
- Slighly different deployment for AMP and test WAR. In the test jetty
|
|
||||||
war java classes are *not* packed in the war as in the AMP specification,
|
|
||||||
but this *must* not have functional impacts on the application
|
|
||||||
|
|
||||||
IMPROVEMENTS:
|
IMPROVEMENTS:
|
||||||
- maven-amp-plugin is *heavily* redundant. must be simplified to package an
|
|
||||||
amp and process overlays
|
|
||||||
- maven-amp-plugin could read maven dependencies and turn them into
|
|
||||||
module dependencies in module.properties
|
|
||||||
- maven-sql-plugin to autocreate jetty db
|
- maven-sql-plugin to autocreate jetty db
|
||||||
|
@@ -1,34 +0,0 @@
|
|||||||
<?xml version='${version}' encoding='UTF-8'?>
|
|
||||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
||||||
<!--
|
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
|
||||||
this work for additional information regarding copyright ownership.
|
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
||||||
(the "License"); you may not use this file except in compliance with
|
|
||||||
the License. You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<beans>
|
|
||||||
|
|
||||||
<!-- A simple class that is initialized by Spring -->
|
|
||||||
<bean id="${artifactId}.exampleBean" class="com.sourcesense.demoamp.Demo" init-method="init" />
|
|
||||||
|
|
||||||
<!-- A simple module component that will be executed once -->
|
|
||||||
<bean id="${artifactId}.exampleComponent" class="com.sourcesense.demoamp.DemoComponent" parent="module.baseComponent" >
|
|
||||||
<property name="moduleId" value="${[pom.groupId}.${pom.artifactId}" /> <!-- See module.properties -->
|
|
||||||
<property name="name" value="exampleComponent" />
|
|
||||||
<property name="description" value="A demonstration component" />
|
|
||||||
<property name="sinceVersion" value="2.0" />
|
|
||||||
<property name="appliesFromVersion" value=".20x" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
|
@@ -1,41 +0,0 @@
|
|||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
|
||||||
# this work for additional information regarding copyright ownership.
|
|
||||||
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
||||||
# (the "License"); you may not use this file except in compliance with
|
|
||||||
# the License. You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
#-----------------------------------------------------------------------
|
|
||||||
# ${artifactId} module log4j.properties
|
|
||||||
#
|
|
||||||
# NOTE
|
|
||||||
# ----
|
|
||||||
# Log4j uses the following logging levels:
|
|
||||||
# debug,info,warn,error,fatal
|
|
||||||
#
|
|
||||||
# To set the logging level of {fullClassName} to {loglevel},
|
|
||||||
# add a line to this file of the following form:
|
|
||||||
#
|
|
||||||
# log4j.logger.{fullClassName}={loglevel}
|
|
||||||
#
|
|
||||||
# For example, to make 'com.example.MyExample' produce 'debug'
|
|
||||||
# logs, add a line like this:
|
|
||||||
#
|
|
||||||
# log4j.logger.com.example.MyExample=debug
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# WARNING
|
|
||||||
# -------
|
|
||||||
# Log properties in this log4j.properties file override/augment
|
|
||||||
# those in the webapp's main log4j.properties.
|
|
||||||
#
|
|
||||||
#-----------------------------------------------------------------------
|
|
||||||
|
|
||||||
log4j.logger.com.sourcesense.demoamp.DemoComponent=${module.log.level}
|
|
@@ -1,25 +0,0 @@
|
|||||||
<?xml version='${version}' encoding='UTF-8'?>
|
|
||||||
<!--
|
|
||||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
contributor license agreements. See the NOTICE file distributed with
|
|
||||||
this work for additional information regarding copyright ownership.
|
|
||||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
||||||
(the "License"); you may not use this file except in compliance with
|
|
||||||
the License. You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
||||||
-->
|
|
||||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
||||||
|
|
||||||
<beans>
|
|
||||||
|
|
||||||
<import resource="classpath:alfresco/module/com.sourcesense.demoamp/context/service-context.xml" />
|
|
||||||
|
|
||||||
</beans>
|
|
Reference in New Issue
Block a user